{include file="public/header" /}

<div class="aw-container-wrap">
	<div class="container">
		<div class="row">
			<div class="aw-content-wrap clearfix">
				<div class="col-sm-12 col-md-9 aw-main-content">
					<!-- 新消息通知 -->
					<div class="aw-mod aw-notification-box collapse" id="index_notification">
						<div class="mod-head common-head">
							<h2>
								<span class="pull-right"><a href="account/setting/privacy/#notifications" class="text-color-999"><i class="icon icon-setting"></i>通知设置</a></span>
								<i class="icon icon-bell"></i>新通知<em class="badge badge-important" name="notification_unread_num"><?php // // echo $this->user_info['notification_unread']; ?></em>
							</h2>
						</div>
						<div class="mod-body">
							<ul id="notification_list"></ul>
						</div>
						<div class="mod-footer clearfix">
							<a href="javascript:;" onclick="AWS.Message.read_notification(false, 0, false);" class="pull-left btn btn-mini btn-gray">我知道了</a>
							<a href="notifications/" class="pull-right btn btn-mini btn-success">查看所有</a>
						</div>
					</div>
					<!-- end 新消息通知 -->
					<!-- tab切换 -->
					<ul class="nav nav-tabs aw-nav-tabs active hidden-xs">
						<li>
							<a href="<?php // // if ($this->feature_info)  ?>feature_id-<?php // // echo $this->feature_info['id']; ?>__<?php // //  ?>category-<?php // // echo $this->category_info['id']; ?>__sort_type-unresponsive">等待回复</a>
						</li>
						<li>
							<a href="" id="sort_control_hot">热门</a>
						</li>
						<li>
							<a href="">推荐</a></li>
						<li >
							<a href="/" >最新</a></li>

						<h2 class="hidden-xs"><?php // // if ($this->category_info)  ?><?php // // echo $this->category_info['title']; ?><?php // //  else if ($this->feature_info)  ?><?php // // echo $this->feature_info['title']; ?><?php // //  else  ?><i class="icon icon-list"></i> 发现<?php // //  ?></h2>
					</ul>
					<!-- end tab切换 -->

					<?php // // if ($_GET['sort_type'] == 'hot')  ?>
					<!-- 自定义tab切换 -->
					<div class="aw-tabs">
						<ul>
							<li<?php // // if ($_GET['day'] == 30)  ?> class="active"<?php // //  ?>><a href="<?php // // if ($this->feature_info)  ?>feature_id-<?php // // echo $this->feature_info['id']; ?>__<?php // //  ?>sort_type-hot__<?php // // if ($this->category_info['id'])  ?>__category-<?php // // echo $this->category_info['id']; ?><?php // //  ?>__day-30" day="30"><?php // // _e('30天'); ?></a></li>
						  	<li<?php // // if ($_GET['day'] == 7)  ?> class="active"<?php // //  ?>><a href="<?php // // if ($this->feature_info)  ?>feature_id-<?php // // echo $this->feature_info['id']; ?>__<?php // //  ?>sort_type-hot__<?php // // if ($this->category_info['id'])  ?>__category-<?php // // echo $this->category_info['id']; ?><?php // //  ?>__day-7" day="7"><?php // // _e('7天'); ?></a></li>
						  	<li<?php // // if ($_GET['day'] == 1)  ?> class="active"<?php // //  ?>><a href="<?php // // if ($this->feature_info)  ?>feature_id-<?php // // echo $this->feature_info['id']; ?>__<?php // //  ?>sort_type-hot__<?php // // if ($this->category_info['id'])  ?>__category-<?php // // echo $this->category_info['id']; ?><?php // //  ?>__day-1" day="1"><?php // // _e('当天'); ?></a></li>
						</ul>
					</div>
					<!-- end 自定义tab切换 -->
					<?php // //  ?>

					<div class="aw-mod aw-explore-list">
						<div class="mod-body">
							<div class="aw-common-list">
							{volist name="list" id="v"}
								  <div class="aw-item article" data-topic-id="">
								    <a class="aw-user-name hidden-xs" data-id="1" href="http://git.cooldreamer.com/ask/?/people/admin" rel="nofollow">
								      <img src="$root_pathUpload/avatar/$v.avatar_file" alt=""></a>
								    <div class="aw-question-content">
								      <h4>
								        <a href="article/$v.id">{$v.title}</a></h4>
								      <p>
								        <a class="aw-question-tags" href="category/$v.category_id"><?php  //$topic = unserialize($v['recent_topics']); echo $topic[0]; ?></a>•
								        <a href="http://git.cooldreamer.com/ask/?/people/admin" class="aw-user-name">$v.user_name</a>
								        <span class="text-color-999">发表了文章 • {$v.comments} 个评论 • $v.views 次浏览 • :date_friendly($v['add_time'])</span>
								        <span class="text-color-999 related-topic collapse">• 来自相关话题</span></p>
								      <!-- 文章内容调用 -->
								      <div class="markitup-box">
								      <!--   <img src="http://cooldreamer.org/ask/uploads/article/20161103/cebb5c63d0cf8132fe5699bbcf3ea482.jpg" class="img-polaroid pull-left inline-img" title="5c804cb969fc62fd652c148bbea71204.jpg" alt="5c804cb969fc62fd652c148bbea71204.jpg"> -->
								        <div class="img pull-right">
								        	
								        </div>:msubstr($v.message)</div>
								     <!--  <div class="collapse all-content">
								        <br>
								        <div class="aw-upload-img-list active">
								          <a href="http://cooldreamer.org/ask/uploads/article/20161103/cebb5c63d0cf8132fe5699bbcf3ea482.jpg" target="_blank" data-fancybox-group="thumb" rel="lightbox"></a>
								        </div>
								        <br>木木材af木木材af木木材af</div> -->
								      <!-- end 文章内容调用 --></div>
								  </div>
						{/volist}
							</div>
						</div>
						<div class="mod-footer">
							<div class="mod-footer">
							<div class="page-control">
							<ul class="pagination pull-right">
							<li class="active"><a href="javascript:;">1</a></li>
							<li><a href="http://git.cooldreamer.com/ask/?/sort_type-new__day-0__is_recommend-0__page-2">2</a></li>
							<li><a href="http://git.cooldreamer.com/ask/?/sort_type-new__day-0__is_recommend-0__page-2">&gt;</a></li>
							$news.page
							</ul>
							</div>						
							</div>
						</div>
					</div>
				</div>

				<!-- 侧边栏 -->
				<div class="col-sm-12 col-md-3 aw-side-bar hidden-xs hidden-sm">
					<?php // // TPL::output('block/sidebar_feature.tpl.htm'); ?>
					<?php // // TPL::output('block/sidebar_hot_topics.tpl.htm'); ?>
					<?php // // TPL::output('block/sidebar_hot_users.tpl.htm'); ?>
				</div>
				<!-- end 侧边栏 -->
			</div>
		</div>
	</div>
</div>
{include file="public/footer" /}